<template>
  <a-config-provider :locale="locale">
    <b-header :config="appViewConfig" />
    <router-view />
    <a-back-top :visibilityHeight="20">
      <div class="ant-back-top-inner">UP</div>
    </a-back-top>
  </a-config-provider>
</template>

<script>
import { appViewConfig } from "@vp/app.js";
import BHeader from "@b/header";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import { ConfigProvider, BackTop } from "ant-design-vue";
export default {
  components: {
    BHeader,
    AConfigProvider: ConfigProvider,
    ABackTop: BackTop,
  },
  setup() {
    return {
      appViewConfig,
      locale: zhCN,
    };
  },
};
</script>
<style>
@import url(./style.css);
</style>